package com.security.door.model.vo;

import lombok.Data;
import java.util.List;

@Data
public class baseMenuListVo implements Comparable<baseMenuListVo> {
    private String guid;
    private Integer sortno;
    private Integer menutype;

    @Override
    public int compareTo(baseMenuListVo o) {
        if (this.levels > o.levels)
            return 1;
        else
            return -1;
    }

    private String menuname;

    private List<baseMenuListVo> children;

    private String parentid;

    private String url;

    private Integer levels;

    private String paths;
}
